package com.luanhj.system.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.github.yulichang.base.MPJBaseMapper;
import com.luanhj.common.core.domain.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author luanhj
 * @date 2025/9/8 13:39
 * @description
 */
@Mapper
public interface NoTenantSysRoleMapper extends MPJBaseMapper<SysRole> {
    @InterceptorIgnore(tenantLine = "true")
    List<SysRole> selectRolePermissionByUserId(Long userId);
}
